From 523a15a701baf01beb616238637be8be5d737d10 Mon Sep 17 00:00:00 2001 From: Julien Grall Date: Mon, 3 Feb 2020 23:57:53 +0000 Subject: [PATCH] xen/x86: hap: Fix coding style in hap_enable() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Julien Grall Reviewed-by: Roger Pau Monné Acked-by: George Dunlap --- xen/arch/x86/mm/hap/hap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/mm/hap/hap.c b/xen/arch/x86/mm/hap/hap.c index 3d93f3451c..31362a31b6 100644 --- a/xen/arch/x86/mm/hap/hap.c +++ b/xen/arch/x86/mm/hap/hap.c @@ -473,7 +473,8 @@ int hap_enable(struct domain *d, u32 mode) goto out; } - for (i = 0; i < MAX_NESTEDP2M; i++) { + for ( i = 0; i < MAX_NESTEDP2M; i++ ) + { rv = p2m_alloc_table(d->arch.nested_p2m[i]); if ( rv != 0 ) goto out; -- 2.30.2